.container {
    background-color: #f5f5f5;
    min-height: 100vh;
}

.userHeader {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa502 100%);
    padding: 30px 20px;
    color: white;
}

.userInfo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.avatar {
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.userDetails {
    margin-left: 20px;
}

.nickname {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
}

.levelContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.level {
    font-size: 26px;
    margin-top: 8px;
}

.btnGrade {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 24px;
    cursor: pointer;
    align-self: flex-start;
}

.statsContainer {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.statItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.statValue {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
}

.statTitle {
    font-size: 24px;
    opacity: 0.9;
}

.menuSection {
    margin: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.editForm {
    padding: 20px;
}

.formItem {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.formItem span {
    width: 120px;
    color: #333;
}

.input {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    font-size: 28px;
}

.logoutButton {
    background-color: #ff4d4f;
    color: white;
    margin: 20px;  /* 确保与页面保持距离，上下左右边距一致 */
    border-radius: 16px;  /* 应用圆角 */
    border: none;
    text-align: center;
    padding: 16px 0;
    display: block;  /* 确保按钮作为块级元素显示 */
    width: calc(100% - 40px);  /* 计算宽度，减去左右边距 */
}

.logoutButton .van-cell__title {
    color: white;
    display: block;
    text-align: center;
    width: 100%;
}

.logoutButton .van-cell {
    background-color: #ff4d4f;
    color: white;
    padding: 0;
    margin: 0;
    border-radius: 16px;  /* 确保圆角应用到内部元素 */
}